import request from '@/utils/request'

// 查询
export function listScoreSurvey(query) {
    return request({
        url: '/flcompany/config/scoreSurvey/list',
        method: 'get',
        params: query
    })
}

// 新增
export function addScoreSurvey(data) {
    return request({
        url: '/flcompany/config/scoreSurvey',
        method: 'post',
        data: data
    })
}

// 修改
export function updateScoreSurvey(data) {
    return request({
        url: '/flcompany/config/scoreSurvey',
        method: 'put',
        data: data
    })
}

// 删除
export function delScoreSurvey(id) {
    return request({
        url: '/flcompany/config/scoreSurvey/' + id,
        method: 'delete'
    })
}